#ifndef TETRAHEDRON_INTERSECTION_H
#define TETRAHEDRON_INTERSECTION_H

#include "PArray.h"


class Tetrahedron;
class Triangle;
class EdgeIntersection;

class  TetrahedronIntersection
{
public:
	LinkArray<EdgeIntersection> edges_;
	Tetrahedron *tetra_;
	Triangle * triangle_;
	bool complete_b_;
	/**
	Count of sweep that this tetrahedron was last tested with
	*/
	int sweep_count_;		


	void Print (std::ostream&)const;
	Triangle * GetTriangle ();
	LinkArray<Tetrahedron> AdjacentTetras ();
	TetrahedronIntersection();
	bool Valid () const;
};




#endif /* TETRAHEDRON_INTERSECTION_H */
